@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'projection'
@Metadata.allowExtensions: true
define root view entity ZC_INVOICE_HEAD
  provider contract transactional_query
  as projection on ZI_INVOICE_HEAD
{
  key BillingDocument,
      BillingDocumentType,
      CreatedByUser,
      CreationDate,
      CreationTime,
      SalesOrganization,
      BillingDocumentDate,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      TotalNetAmount,
      TransactionCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      TotalTaxAmount,
      SoldToParty,
      /* Associations */
      _Item
}
